home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 19
/
Night Owl (The Best of Shareware)(NOPV 19)(1996).ISO
/
007a
/
sfame095.zip
/
SCRIPTS.ZIP
/
SCRIPT3.SCR
< prev
next >
Wrap
Text File
|
1995-01-07
|
712b
|
26 lines
;Script to request a file through FTP
:START
DISPLAY ""
ASK "Enter the address of this file: " 1
ASK "Enter the directory of this file: " 2
ASK "Enter file name: " 3
DISPLAY ""
DISPLAYANSWER "Address of file: " 1
DISPLAYANSWER "Directory of file: " 2
DISPLAYANSWER "File name: " 3
DISPLAY ""
GETCHOICE "Is the above information correct <Y/n>? " YN 4
IF 4 "N"
GOTO START
ENDIF
;Write answers to message. Don't forget space (" ") between text and answer.
;Variable 0 below is the users address
WRITEANSWER "reply " 0
WRITEANSWER "connect " 1
WRITEANSWER "binary"
WRITEANSWER "uuencode"
WRITEANSWER "chunksize 50000"
WRITEANSWER "chdir " 2
WRITEANSWER "get " 3
WRITEANSWER "quit"